\openout 0 \jobname.c
\countdef\MyCount=42
\MyCount=108
blabla
\vskip\MyCount\baselineskip
blabla
\write 0 {\number \MyCount}
\write 0 {int hello();}
\closeout 0
\end
